package com.qinggeng.project.system.service.impl;

import com.qinggeng.project.system.domain.GoodsStatistics;
import com.qinggeng.project.system.mapper.GoodsStatisticsMapper;
import com.qinggeng.project.system.service.IGoodsStatisticsService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class GoodsStatisticsServiceImpl implements IGoodsStatisticsService {
    @Resource
    private GoodsStatisticsMapper goodsStatisticsMapper;

    @Override
    public List<GoodsStatistics> selectGoodsStatisticsList(Long shopId,Long pointId,Long classifyId, Long startTime, Long endTime) {
        return goodsStatisticsMapper.selectGoodsStatisticsList(shopId,pointId,classifyId,startTime,endTime);
    }

    @Override
    public List<GoodsStatistics> selectGoodsStatisticsListByClassifyId(Long shopId,Long pointId, Long startTime, Long endTime) {
        return goodsStatisticsMapper.selectGoodsStatisticsListByClassifyId(shopId,pointId,startTime,endTime);
    }

}
